package com.boco.blch.analysiser.compliance.HW.manager;

import com.boco.blch.analysiser.compliance.ComplianceResolved;

public class BOCO_ZooKeeper_VisitCtl_SerLinkNum implements ComplianceResolved{

	@Override
	public int realEchoResolved(String echoResult) {
		String str=echoResult.replaceAll(" ", "");
		if(echoResult != null && echoResult.trim().length() > 0){
			if(echoResult.contains(NotFindFile)){
				return FAILED;
			}else if(str.contains("maxClientCnxns=2000")&&str.contains("maxCnxns=20000")){
				return SUCCESS;
			}
		}
		return FAILED;
	}

	

}
